package com.zhentao.mapper;

import com.zhentao.domain.SQuestion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86150
* @description 针对表【s_question】的数据库操作Mapper
* @createDate 2024-07-24 09:31:18
* @Entity com.zhentao.domain.SQuestion
*/
public interface SQuestionMapper extends BaseMapper<SQuestion> {

    //根据课程id查找对应的题目信息
    List<SQuestion> getQuestionBySubjectId(@Param("id") Integer id);

    Integer getQuestionNum();
}




